<include file="Public:header" />

    <div id="content">
    	<div class="main_top">
        	<h2><span class="textShadow">Today you have:</span><span class="Hello-item textShadow">Hello {$userName}</span></h2>
            <h3 class="sideBar_two">
				<img src="../Public/images/tag_1.png" alt="##" /><span>Ads to see</span> <span style="position:absolute;color:#666; font-size:23px; margin:25px 0px 0px -109px;_margin:25px 0px 0px -104px;">{$video_count}</span>
            </h3>
            <span class="tag_test textShadow">
            	Please see today's ad to earn more points.<br />Your favourable gift cards are waiting for your redemption!
            </span>  
            <div class="bd_bottom"></div>      
        </div><!-- end:main_top -->
        
        <div class="main_bottom">
        	<div class="main_bottom_bf">
                <div class="main-Sidebar">
                    <div class="top-Sidebar">
                       <label>Advertising</label>                 
                    </div>
                    
                    <div class="middle-Sidebar">
					
							<form action="__ACTION__" method="post" class="gift-form2" name="cat_form">
							   <select class="select2" name="video_cat" onchange="document.cat_form.submit();">
									<option value="" <if condition="$catId eq 0">selected</if> >All</option>
									<foreach name='video_cats' item='cat'>
										<option value="{$cat.cat_id}" <if condition="$catId eq $cat['cat_id']">selected</if> >{$cat.cat_name}</option>
									</foreach>
									
								</select>
							 </form>
							 
                 		<ul class="main-listItem">
                        
                        	<foreach name="videos" item="video">
							<li>
                            	<div class="li-setWra">
                                    <a href="{$video.url}">
										<if condition="$video.image_name eq ''">
											<img src="__ROOT__/Public/Uploads/no-image.gif" width="82px" height="73px" /></a>
										<else/>
											<img src="__ROOT__{$video.image_path}{$video.image_name}" width="82px" height="73px" /></a>
										</if>
										
                                    <div class="pWrap">
                                        <p class="font-11">{$video.video_name}</p>
                                        <p class="font-11">{$video.video_name}</p>
                                        <p class="font-12">{$video.point} points</p>
                                    </div>	
                                </div>
                            </li>
							</foreach>
                                    
                        </ul>
						 <div class="page_records">{$page}</div>
                    </div>
					
                    
                    <div class="foot-Sidebar">
                    	<span>See good returns!&nbsp;</span>
                    </div>
               </div>
           </div>
        </div><!-- end:main_bottom -->
      
          
        <div class="main_bottom_3">
        
        </div><!-- end:main_bottom_2 -->
    </div><!-- end:content-->

<include file="Public:footer" />